import * as React from 'react';
//建立页面数据和store 的关联
import { connect } from 'react-redux'
import { Post, Get, Patch, Put } from '../../utils/utilHttp'
import { Link, RouteComponentProps } from 'react-router-dom';
import { Button, WhiteSpace, WingBlank,Pagination,Icon } from 'antd-mobile';
import './index.scss'


interface IState {
}
interface IProps {
}
class Err404 extends React.Component<IProps, IState> {
  state = {
  }
  render() {
    let {} =this.state;
    return (
      <div className='div_box'>
        404
      </div>
    )
  }
}


//将store里面的数据映射到props 这个数据
//就是取store的数据 然后操作 赋值给页面的变量
//将页面数据和全局数据绑定
const mapState = ({ store }: any) => {
  return ({
    // isLogin: store.isLogin,
  })
}

const mapDispatch = ({ store }: any) => ({
  // changeLoaderType() {
  //   store.changeLoaderType(true)
  // }
})
//返回了 connect 其实是一个容器组件
export default connect(mapState, mapDispatch)(Err404); 
